@extends('home.authlayout')
@section('title','注册')
@section('content')
    <form action="{{url('doReg')}}" method="post">
        {{ csrf_field() }}
        <div class="l1">
            <label>
                <span class="label">姓名：</span>
                <input type="text" name="name" placeholder="输入姓名" value="{{old('name')}}">
            </label>
        </div>
        <div class="l1">
            <label>
                <span class="label">手机号：</span>
                <input type="text" name="mobile" placeholder="输入11位手机号" value="{{old('mobile')}}">
            </label>
        </div>
        <div class="l1">
            <label>
                <span class="label">身份证号：</span>
                <input type="text" name="code" placeholder="输入身份证号" value="{{old('code')}}">
            </label>
        </div>
        <div class="l1">
            <label>
                <span class="label">提现密码：</span>
                <input type="password" name="card_pwd" placeholder="输入提现密码" value="{{old('card_pwd')}}">
            </label>
        </div>
        <div class="l1">
            <label>
                <span class="label">账号：</span>
                <input type="text" name="username" placeholder="输入账号" value="{{old('username')}}">
            </label>
        </div>
        <div class="l1">
            <label>
                <span class="label">密码：</span>
                <input type="password" name="password" placeholder="输入密码" value="{{old('password')}}">
            </label>
        </div>
        <div class="l1">
            <label>
                <span class="label">确认密码：</span>
                <input type="password" name="repassword" placeholder="输入确认密码" value="{{old('repassword')}}">
            </label>
        </div>
        <div class="btn">
            <input type="submit" class="submit" value="免费注册">
            <a href="{{url('/login')}}" class="reg">已经有账号，点击此处进行登录</a>
        </div>
    </form>


@endsection